<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../../../assets/plugins/jquery/jquery.min.js"    ></script>
		<script src="../../../assets/plugins/requirejs/r.js"    ></script>
		<script src="../../../assets/common/config.js"    ></script>
	</head>
	<body>
		<div id="test">javascript - requirejs中shim使用 - SegmentFau</div>
		<div id="div1" style="width:200px;height:200px;background-color:#465ae0;" onclick="StringUtils.toUpperCase();">test</div>
	</body>
	
	<script>
		
		$(function(){
		    var path="require/shim/shim";
			require([  path,"require/shim/stringUtil" ],  function(test ,util ) {
		              
		              test.init({'sunz':222}); 
		              util.toUpperCase(); 
		              var aPl = require("require/shim/dateUtil");
		              aPl.toString() 
 
		              
		                                  
		   });  
			
		}) 
	</script>
</html>
